package com.cw.DesignModel23.Structural.ProxyPattern.Proxy1;

public class Client {
    public static void main(String[] args) {
        // 被代理对象
        Subject realSubject = new RealSubject();
        // 代理对象
        Subject proxy = new Proxy(realSubject);
        // 执行代理对象方法, 调用被代理对象方法
        proxy.request();
    }
}

